﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pansoft.HIME.CacheManager
{
    public class Cache
    {
        private Cache()
        {
        }

        public IDataCache Data { get; set; }

        #region 单件实例

        private static readonly Lazy<Cache> _Instance = new Lazy<Cache>(() => new Cache());

        /// <summary> 获得一个本类型的单件实例.
        /// </summary>
        /// <value>The instance.</value>
        public static Cache Instance
        {
            get { return _Instance.Value; }
        }

        #endregion

    }

    public interface IDataCache
    {
    }
}
